<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>新增会员卡</title>
  </head>
  <body>
	<div class="pageContent">
		<form method="post" action="<%=path %>/cardEntity/saveCardEntity.action" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone);">
			<div class="pageFormContent" layoutH="56">
				<p>
					<label>商户编码：</label>
					<input name="cardEntityVO.merchantCode" value="<s:property value="cardEntityVO.merchantCode" />" class="required" type="text" size="30" alt="请输入商户编码"/>
				</p>
				<p>
					<label>商户名：</label>
					<input name="cardEntityVO.merchantNamer" value="<s:property value="cardEntityVO.merchantNamer" />" class="required" type="text" size="30" alt="请输入商户名"/>
				</p>
				<p>
					<label>会员卡方案编码：</label>
					<input name="cardEntityVO.schemeCode" value="<s:property value="cardEntityVO.schemeCode" />" class="required" type="text" size="30" alt="请输入会员卡方案编码"/>
				</p>
				<p>
					<label>会员卡级别：</label>
					<input name="cardEntityVO.cardLever" value="<s:property value="cardEntityVO.cardLever" />" class="required" type="text" size="30" alt="请输入会员卡级别"/>
				</p>
				<p>
					<label>有效期开始：</label>
					<input name="cardEntityVO.expiryDateFrom" value="<s:property value="cardEntityVO.expiryDateFrom" />" readonly="true" class="date" type="text" size="30" /><a class="inputDateButton" href="javascript:;">选择</a>
				</p>
				<p>
					<label>有效期截止：</label>
					<input name="cardEntityVO.expiryDateTo" value="<s:property value="cardEntityVO.expiryDateTo" />" readonly="true" class="date" type="text" size="30" /><a class="inputDateButton" href="javascript:;">选择</a>
				</p>
				<p>
					<label>申请方式：</label>
					<input name="cardEntityVO.applyWay" value="<s:property value="cardEntityVO.applyWay" />" class="required" type="text" size="30" alt="请输入申请方式"/>
				</p>
				<p>
					<label>基础折扣：</label>
					<input name="cardEntityVO.baseDiscount" value="<s:property value="cardEntityVO.baseDiscount" />" class="required" type="text" size="30" alt="请输入基础折扣"/>
				</p>
				<p>
					<label>使用须知：</label>
					<input name="cardEntityVO.useNotes" value="<s:property value="cardEntityVO.useNotes" />" class="required" type="text" size="30" alt="请输入使用须知"/>
				</p>
				<p>
					<label>数量限制：</label>
					<input name="cardEntityVO.limitAmount" value="<s:property value="cardEntityVO.limitAmount" />" class="required" type="text" size="30" alt="请输入数量限制"/>
				</p>
				<p>
					<label>发卡数：</label>
					<input name="cardEntityVO.cardIssueAmount" value="<s:property value="cardEntityVO.cardIssueAmount" />" class="required" type="text" size="30" alt="请输入发卡数"/>
				</p>
				<div class="divider"></div>
				<p>
					<label>未激活图片：</label>
					<input name="cardEntityVO.nonactivatedPic" value="<s:property value="cardEntityVO.nonactivatedPic" />" class="required" type="file" size="30" alt="请输入未激活图片"/>
				</p>
				<p>
					<label>已激活图片：</label>
					<input name="cardEntityVO.activatedPic" value="<s:property value="cardEntityVO.activatedPic" />" class="required" type="file" size="30" alt="请输入已激活图片"/>
				</p>
			</div>
			<div class="formBar">
				<ul>
					<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
					<li>
						<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
					</li>
				</ul>
			</div>
		</form>
	</div>
  </body>
</html>